package bairui.international.console.web.controller.user.offset;

import com.lianjing.sh.spring.web.controller.enhance.module.Module;
import com.lianjing.sh.spring.web.controller.enhance.module.ModuleHead;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageFilterInfo;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageModuleBody;

/**
 *
 * Module_Page
 *
 */
class Module_Page{

	/**
	 * 分页模块
	 */
	public Module module(
		com.lianjing.sh.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_User_Offset_Page_Page.Page.Operate c_User_Offset_Page_Page_Page_Operate
	,	C_User_Offset_AssignOffset_PageAccess.PageAccess.Operate c_User_Offset_AssignOffset_PageAccess_PageAccess_Operate
	){
		return
			new Module(
					new ModuleHead("列表")
						.addOperate(
							c_User_Offset_AssignOffset_PageAccess_PageAccess_Operate
								.defaultComment("分配电子券")
								.defaultTarget(com.lianjing.sh.spring.web.controller.base.operate.OperateTarget.Popup)
						)
					, 
					new PageModuleBody(
							moduleFeature,
							Page_OutputInfo.outputInfo(),
							new PageFilterInfo(
									Page_BaseFilter.info(), 
									Page_OutputInfo.pageInfo(), 
									Page_OutputInfo.orderInfo()
								),
							c_User_Offset_Page_Page_Page_Operate
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_User_Offset_Page_Page.Page.Operate c_User_Offset_Page_Page_Page_Operate
	,	C_User_Offset_AssignOffset_PageAccess.PageAccess.Operate c_User_Offset_AssignOffset_PageAccess_PageAccess_Operate
	){
		return this.module(
				null,
				c_User_Offset_Page_Page_Page_Operate
	,			c_User_Offset_AssignOffset_PageAccess_PageAccess_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
